Downgrade Kotlin to 2.1.21#245
Conversation
- Downgrade Kotlin 2.2.0->2.1.21 to make broader adoption possible. Update Kotlin compiler configuration - Add [kotlinx-datetime](https://github.com/Kotlin/kotlinx-datetime) dependency. Switch from `kotlin.time.Instant` to `kotlinx.datetime.Instant`. - Downgrade atomicfu 0.29.0->0.28.0 - Downgrade kotlinx-serialization 1.9.0->1.8.1
Why did you make these changes? |
Because compiled Kotlin native library can't be used in the project, which is using lower Kotlin version. |
Then we can update koog to 2.2.10 kotlin I don’t think downgrading the Kotlin version and all the kotlinx libraries in the sdk is a good idea. On top of that, switching In my view, ios is not the main target to justify doing that |
|
Let's try upgraing Koog, indeed |
|
Closing it for now |
Downgrade Kotlin to 2.1.21
Motivation and Context
Compiled iOS client is not compatible with frameworks, which are using older version of Kotlin.
Kotlin version should be downgraded 2.2.0->2.1.21 to make possible use native artifacts in other projects, e.g. Koog
Changes
kotlin.time.Instanttokotlinx.datetime.Instant.Breaking Changes
kotlin.time.Instanttokotlinx.datetime.Instant.How Has This Been Tested?
Types of changes
Checklist
Additional context